import Vue from 'vue'
import VueRouter from 'vue-router'
// import HomeView from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path:'/',
    name:'overview',
    component:()=> import('../views/Overview.vue'),
    children:[
      {
        path:'/',
        name:'index',
        component:()=> import('../views/index.vue')
      }

    ]
  },
]

const router = new VueRouter({
  mode: 'history',
  routes
})

export default router
